package com.ruoyi.gybj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 策略消息字段对象 gybj_strategy_message_field
 * 
 * @author ruoyi
 * @date 2025-11-19
 */
public class StrategyMessageField extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 消息策略ID */
    @Excel(name = "消息策略ID")
    private Long messageStrategyId;

    /** 消息字段ID */
    @Excel(name = "消息字段ID")
    private Long fieldId;

    /** 次序号 */
    @Excel(name = "次序号")
    private Long sortNum;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMessageStrategyId(Long messageStrategyId) 
    {
        this.messageStrategyId = messageStrategyId;
    }

    public Long getMessageStrategyId() 
    {
        return messageStrategyId;
    }

    public void setFieldId(Long fieldId) 
    {
        this.fieldId = fieldId;
    }

    public Long getFieldId() 
    {
        return fieldId;
    }

    public void setSortNum(Long sortNum) 
    {
        this.sortNum = sortNum;
    }

    public Long getSortNum() 
    {
        return sortNum;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("messageStrategyId", getMessageStrategyId())
            .append("fieldId", getFieldId())
            .append("sortNum", getSortNum())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .toString();
    }
}
